<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="showold.aspx.cs" MasterPageFile="~/Testing.Master" Inherits="Main.polls.show" StylesheetTheme="Testing" %>
<asp:Content runat="server" ContentPlaceHolderID="MainContent">
<script src="../scripts/prototype.js" type="text/javascript"></script>
<!--[if IE]><script language="javascript" type="text/javascript" src="../scripts/excanvas.js"></script><![endif]-->    
<script src="../scripts/ProtoChart.js" type="text/javascript"></script>
<script type="text/javascript">
Event.observe(window, 'load', function(){
var graph = new Proto.Chart(
 $('barchart'),
 [
 	{
 		data: [[1, 996], [2, 1162], [3, 102], [4, 491], [5, 75]],
 		label: "Ajaxian"
 	},
 	{
 		data: [[1, 307], [2, 2184], [3, 436], [4, 304], [5, 152]],
 		label: "Ajax"
 	}
 ],
 {
 	xaxis: {
 		min: 0,
 		max: 6,
 		ticks: [
 			[0, ""],
 			[1, "Good"],
 			[2, "All"] ,
 			[3, "Avg Month"],
 			[4, "Great"],
 			[5, "Best"],
 			[6, " "]
 		]
 	},
 	legend: {
		show: true
 	},
 	points: {
 		show: true
 	},
 	bars: {
 		show: true
 	}
 }
);});
	</script>
	
<h2><asp:Label ID="ContentHeader" runat="server" /></h2>
<!-- BEGIN SAMPLE POLL -->
    <div class="boxHeader"><div></div></div>
    <div class="boxContent">
        <div class="innerBoxHeader"><div></div></div>
        <div class="innerBoxContent">
            <div class="poll-wrapper">
            <div id="SamplePoll" class="poll">
                <div class="pollTop">
                    <div class="pollTitle"><asp:Label runat="server" ID="pollTitle" /></div>
                </div>
                <div class="pollBody">
                <form id="poll_01" method="post" action="">
                    <div class="pollQuestion"><asp:Label runat="server" ID="pollQuestion" /></div>
                    <!-- All options go in here -->
                    <div id="pollOptions" runat="server">
                    </div>
                    <img id="chart" runat="server" alt="Chart" src="" />
                    <div class="pollSubmit">
                        <!-- Text following button is too high in IE7 but ok in Firefox -->
                        <!--<a href=""><img src="../images/submit.gif" alt="Submit" /></a> or <a href="">see results</a>.-->
                        <asp:Button ID="btnVote" Text="Vote" runat="server" />
                    </div>
                </form>
                </div>
                <div class="pollSummary"><asp:Label runat="server" ID="pollSummary" /></div>
            </div>
            </div>

        </div>
        <div class="innerBoxFooter"><div></div></div>
        <div class="innerBoxHeader"><div></div></div>
                <div class="innerBoxContent">
                    <div class="poll-comments">
                        <asp:Panel ID="pollcommentform" runat="server" />
                        <asp:Panel ID="pollcomments" runat="server" />            
                    </div>
                </div>
                
        <div class="innerBoxFooter"><div></div></div>
    </div>
    <div class="boxFooter"><div></div></div>
    <asp:Label runat="server" ID="error" Visible="false" ></asp:Label>
    <!--<div id="barchart" style="width:500px;height:300px"></div>-->
</asp:Content>